package com.h820.Zifuchuan;

public class quchong {
    public static void main(String[] args) {
        String n = "sdfsdfsdfdssdddfsdfafa";
        StringBuilder qu = new StringBuilder();
        char arr[] = new char [qu.length()];
        for (int i = 0; i < qu.length(); i++) {
            arr[i] = qu.charAt(i);
        }
        for (int i = 0; i < qu.length() ; i++) {
            char ch = qu.charAt(i);
            for (int j = 0; j < qu.length() ; j++) {
                char ch2 = qu.charAt(i);
                if (ch==ch2){
                    continue;
                }else {
                    ch=ch2;
                    qu.append(ch);
                }
            }
        }
        System.out.println(qu);
    }
}
